package edu.ncu.service;

import edu.ncu.entity.Photo;
import edu.ncu.entity.User;

import java.util.List;

public interface PhotoService {
    List<Photo> findAll();
    int savePhoto(Photo photo);
    int deletePhoto(int photoId);
    List<Photo> findByUserId(int userId);
    Photo findPhotoById(int photoId);

}
